<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="200px">
        <AsideComponent></AsideComponent>
      </el-aside>
      <el-container>
        <el-header>
          <HeaderComponent></HeaderComponent>
        </el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<style lang="css">
* {
  margin: 0;
  border: 0;
}
.el-aside,
.el-container,
.common-layout,
#app,
body,
html {
  height: 100%;
}
/* .el-header {
  background-color: #dcdfe6;
} */
.el-aside {
  background-color: #545c64;
}
.el-main {
  background-color: #e9e9eb;
}
.box-card {
  width: 100%;
  height: 100%;
  border: 0;
}
</style>
